package service.serviceimpl;

import domain.Clothes;
import mapper.ClothesMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import service.ClothesService;
import vo.Clothesvo;

import java.util.List;

/**
 * @ClassName : ClothesServiceImpl
 * @Description : //描述
 * @Author : LYH
 * @Date: 2022/5/27  15:40
 */
@Service
public class ClothesServiceImpl implements ClothesService {
    @Autowired
    private ClothesMapper clothesMapper;
    @Override
    public Clothes findClothesById(Integer id) {
        return clothesMapper.findClothesById(id);
    }

    @Override
    public List<Clothes> findClothes_List(Clothesvo clothesvo) {
        return clothesMapper.findClothes_List(clothesvo);
    }

    @Override
    public int insertclothes(Clothes clothes) {
        return clothesMapper.insertclothes(clothes);
    }

    @Override
    public int updateclothes(Clothes clothes) {
        return clothesMapper.updateclothes(clothes);
    }

    @Override
    public int deleteclothes(Clothes clothes) {
        return clothesMapper.deleteclothes(clothes);
    }

    @Override
    public Clothes findclothes(Clothes clothes) {
        return clothesMapper.findclothes(clothes);
    }

}
